home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Abalone 1.4.2 / src / Draw3D.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-09-21  |  1.1 KB  |  57 lines  |  [TEXT/MPS ]

  1. #ifndef DRAW_3D_H
  2. #define DRAW_3D_H
  3.  
  4.  
  5. #include "Rules.h"
  6.  
  7. #include <QuickDraw.h>
  8.  
  9. void    DrawBallColor3D (Field field, char color);
  10. //    This is the function this whole file has been split off for from Interface.
  11. //    Its purpose is to draw a ball as nice as we can.
  12. //    To do this, a special palette must be created runtime,
  13. //    and ofscreens GWorlds containing the balls must be created beforehand.
  14. //    That's what the rest of this file is about.
  15.  
  16. void DrawFieldColor3D (Field field);
  17. //    Added to draw field background picture
  18.  
  19. void DrawBackground (WindowPtr abaloneWindow);
  20.  
  21.  
  22. void    Init3D (void);
  23. void    Inval3D (void);
  24. void    Update3D (void);
  25.  
  26. #endif
  27.  
  28. #ifdef DRAW_3D_C
  29.  
  30. #include "Error.h"
  31. #include "Global.h"
  32. #include "InsideMac.h"
  33. #include "Interface.h"
  34. #include "Menu.h"
  35. #include "Settings.h"
  36.  
  37. #ifndef THINK_C
  38. #include <Memory.h>
  39. #include <Picker.h>
  40. #include <Resources.h>
  41. //#include <SysEqu.h>
  42. #include <TextEdit.h>
  43. #include <Types.h>
  44. #include <Windows.h>
  45. #endif
  46. #include <Palettes.h>
  47. #include <QDOffscreen.h>
  48.  
  49. void    SetUpPalette (void);
  50. void    SetUpGWorlds (void);
  51. void    UpdatePalette (void);
  52. void    UpdateGWorlds (void);
  53.  
  54.  
  55. #endif
  56.  
  57.